package com.mf.all.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mf.all.entity.dto.TaskDetailBo;

import java.time.LocalDate;
import java.util.List;

/**
 * 任务汇报明细 服务类
 *
 * @author mf
 * @since 2025-03-08
 */
public interface ITaskDetailService extends IService<TaskDetailBo> {

    /**
     * 查询任务id查询汇报明细
     */
    List<TaskDetailBo> findListById(int taskId);

    /**
     * 根据任务id查询指定日期有没有汇报明细
     */
    List<TaskDetailBo> findByTaskIdAndNotificationDate(Integer taskId, LocalDate notificationDate);

}
